package com.chixing.Homework;

public class Student {
    private String stuName;
    public Student (){

    }

    public Student(String stuName) {
        this.stuName = stuName;
    }

    @Override
    protected java.lang.Object clone() throws CloneNotSupportedException {
        Student clone=new Student();

        clone.stuName=this.stuName;


        return clone;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuName='" + stuName + '\'' +
                '}';
    }
}
